﻿<?
session_start();
session_destroy();
?>
<html>
<head>
<meta http-equiv="refresh" content="8; url=http://www.bach5a.es/muro/" />
<link href="http://www.bach5a.es/muro/estilos.css" rel="stylesheet" type="text/css">

<title>Saliendo...</title>
</head>
<body>

<p style="margin:12mm; color:#FFFFCF; font-size:19px; font-family:Trebuchet MS">Has salido correctamente. Serás redirigido <a href="/muro">aquí</a> en <span id="secs">8</span> segundos.</h4>

<script type="text/javascript">

var secs = 8;
var ssp  = document.getElementById('secs');

function countDown() {

 if(secs > 0) {
  --secs;
 }

 ssp.innerHTML = secs;

}

window.setInterval('countDown()', 1000);


document.onkeydown = function(event) {
  event = window.event || event;

  if (event.keyCode == 13) {
    window.location = 'http://www.bach5a.es/muro/';
  }
};

</script>

</body>
</html> 